#!/usr/bin/env python
# -*- coding: gb2312 -*-

import sys
sys.path.append(__file__[:__file__.rfind('/')])
sys.path.insert(0, '/usr/lib/python2.5/site-packages/Leazy-0.2.15-py2.5.egg')

import etc
from etc import config
from url import url_config

import pkg_resources
pkg_resources.require("leazy >= " + config.required_leazy_version)

from leazy.running.wsgi import LeazyApp
import leazy
leazy.etc = etc

application = LeazyApp(config, url_config)

